﻿/**
  KCAKCAK   CAKCAKC   AK      CA
 AK        KC     CA  AK    AK
CA         KC     CA  AK  KC
CA         KCAKCAKCA  AKCA
CA         KC     CA  AK  KC
 AK        KC     CA  AK    AK
  KCAKCAK  KC     CA  AK      CA

_________________________________________________________________
 China ataca Kamchatka - copyright 2007(c) Ruben Sainz de la Maza

	@class: 	AbstractCountryState
	@vertion: 	0.1
	@date:		27/11/07
				
	@language: 	ActionScript 3.0
	@author:	Ruben Sainz de la Maza
	@usage: 
		internal class StateAttack extends AbstractCountryState
		public override function init():void
 
**/

package com.conelmate.cak.board.countries
{
	import com.conelmate.util.Trace;
	import flash.display.DisplayObject;


	internal class AbstractCountryState extends Trace implements ICountry
	{
		
		private	var	_isFreeze	:Boolean = false;		//almacena el valor del freeze

		

//_________________________________________________________________________________ Constructor
		public function AbstractCountryState()
		{
			_isTrace = false; //habilita/deshabilita los trace de las clases de estado
		}
		

//_________________________________________________________________________________ Public Methods

		/**
		 * Inicializa la clase
		 */
		public function init(parent:DisplayObject = null):void
		{
			mTrace("#AbstractCountryState# init");
		//	throw new Error("AbstractCountryState.init overridden");
		}
		

		/**
		 * Destruye las instancias
		 */
		public function destroy():void
		{
			mTrace("#AbstractCountryState# destroy");
		//	throw new Error("AbstractCountryState.destroy overridden");
		}
		
		
		/**
		 * Congela / descongela los eventos de la clase
		 * @param   freeze 
		 */		
		public function freeze(freeze:Boolean):void
		{
			mTrace("#AbstractCountryState# freeze " + freeze);
			_isFreeze = freeze;
		//	throw new Error("AbstractCountryState.init overridden");
		}


//_________________________________________________________________________________ Private Methods
//_________________________________________________________________________________ GETTERS
//_________________________________________________________________________________ SETTERS	
		
	}
}